package com.cgnpc.scp.common.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 分页结果集类
 */
public class MyPageResult<T> implements Serializable {

    /**
     * 总记录数
     */
    private long totalRows;

    /**
     * 结果集
     */
    private List<T> results;

    public long getTotalRows() {
        return totalRows;
    }

    public void setTotalRows(long totalRows) {
        this.totalRows = totalRows;
    }

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }
}
